/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       drag_garrison.h

	$Header: /game/drag_garrison.h $

	$NoKeywords: $

 ************************************************************************/
#ifndef DRAG_GARRISON_H_INCLUDED
#define DRAG_GARRISON_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "drag_object.h"

class t_bitmap_layer;
class t_garrison_button;

class t_drag_garrison : public t_drag_object
{
public:
	t_drag_garrison( t_bitmap_layer const* bitmap, t_garrison_button* source_window );
	virtual ~t_drag_garrison();

	virtual void	   accepted( t_window* window );
	t_garrison_button* get_source_window() const;
protected:
	t_garrison_button* m_source_window;
	bool               m_accepted;
};

inline t_garrison_button* t_drag_garrison::get_source_window() const
{
	return m_source_window;
}

#endif // DRAG_GARRISON_H_INCLUDED